|
|
|
|
|
|
|
PART ONE
WORKING WITH WINDOWS |
|
|
|
|
|
|
|
|
Visual Basic provides enough graphic tools to produce any kind of graphic image. It gives you routines for drawing text, lines, circles, and other shapes. It also provides methods that allow you to examine and modify the individual pixels that make up an image. |
|
|
|
|
|
|
|
|
While Visual Basic's methods give you complete control over an image, some of these methods are slow or cumbersome. For example, you can read and write every pixel in an image individually, but for large images, that can take a very long time. You could also draw text one pixel at a time using your own customized font, but it would be incredibly difficult. The Windows Application Programming Interface (API) provides many functions that make operations such as these faster and easier. |
|
|
|
|
|
|
|
|
The chapters in Part One explain the fundamental graphic tools provided by Visual Basic. They also describe some of the more useful API graphic functions. These techniques form the building block that the later chapters use to produce graphics. |
|
|
|
|
|